<?php#doc#	classname:	news#	scope:		PUBLIC##/docclass news extends CActiveRecord {    #	internal variables    #	Constructor    public static function model($className=__CLASS__)    {        return parent::model($className);    }    public function tableName() {        return 'news';    }    public function recently($limit) {        $this->getDbCriteria()->mergeWith(array(            'order' => 'date , id_news DESC',            'limit' => $limit,        ));        return $this;    }}###?>